﻿import { axios } from '@/utils/request'

/**
 * 查询ProjectWorkload
 *
 * @author BettyZhao
 */
export function ProjectWorkloadPage (parameter) {
  return axios({
    url: '/ProjectWorkload/page',
    method: 'get',
    params: parameter
  })
}

/**
 * ProjectWorkload列表
 *
 * @author BettyZhao
 */
export function ProjectWorkloadList (parameter) {
  return axios({
    url: '/ProjectWorkload/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加ProjectWorkload
 *
 * @author BettyZhao
 */
export function ProjectWorkloadAdd (parameter) {
  return axios({
    url: '/ProjectWorkload/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑ProjectWorkload
 *
 * @author BettyZhao
 */
export function ProjectWorkloadEdit (parameter) {
  return axios({
    url: '/ProjectWorkload/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除ProjectWorkload
 *
 * @author BettyZhao
 */
export function ProjectWorkloadDelete (parameter) {
  return axios({
    url: '/ProjectWorkload/delete',
    method: 'post',
    data: parameter
  })
}

/**
* 获取Project列表
* @author BettyZhao
*/
export function ProjectWorkloadFkProjectList() {
  return axios({
    url: '/ProjectWorkload/fkProject',
    method: 'get'
  })
}
